import Layout from "@/layout";

//商品管理
export default {
  path: "/commerce-index",
  component: Layout,
  redirect: "noRedirect",
  children: [
    {
      path: "/commerce-index-insert",
      name: "添加首页商品",
      hidden: true,
      component: () => import("@/views/commerce/index/save"),
      meta: { title: "添加首页商品", icon: "dashboard", inner: true }
    },
    {
      path: "/commerce-index-update",
      name: "编辑首页商品",
      hidden: true,
      component: () => import("@/views/commerce/index/save"),
      meta: { title: "编辑首页商品", icon: "dashboard", inner: true }
    },
    {
      path: "/commerce-index",
      name: "首页商品管理",
      component: () => import("@/views/commerce/index/list.vue"),
      meta: { title: "首页商品管理", icon: "dashboard" }
    },
  ]
};
